package com.uroad.jilinpda.bleactivation;

import java.io.Serializable;

/**
 * PBOC CARD
 */
public class PCard implements Serializable {

	private static final long serialVersionUID = -2543263223980426823L;

	/** 发卡方标识，长度为4个字节， 例如广西ETC:B9E3CEF745010001,广西判断为：B9E3CEF745，即使广西ETC卡 */
	private String issueFlag;

	/** 卡片网络编号,2个字节 */
	private String sn;

	/** 卡号，8个字节 */
	private String cardNumber;

	/** 启用时间，4个字节，20150524 */
	private String runUpTime;

	/** 到期时间，4个字节，20250524 */
	private String expirationTime;

	/** 车牌,可能为空 */
	private String plate;

	/**卡类型*/
	private String cardType;
	/**卡版本*/
	private String cardVersion;
	/**用户类型*/
	private String userType;
	/**车牌颜色*/
	private String plateColor;
	/**车型*/
	private String carType;
	
	/** 卡余额 ,单位分 */
	private String balance;

	public String getIssueFlag() {
		return issueFlag;
	}

	public void setIssueFlag(String issueFlag) {
		this.issueFlag = issueFlag;
	}

	public String getPlate() {
		return plate;
	}

	public void setPlate(String plate) {
		this.plate = plate;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getRunUpTime() {
		return runUpTime;
	}

	public void setRunUpTime(String runUpTime) {
		this.runUpTime = runUpTime;
	}

	public String getExpirationTime() {
		return expirationTime;
	}

	public void setExpirationTime(String expirationTime) {
		this.expirationTime = expirationTime;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getCardVersion() {
		return cardVersion;
	}

	public void setCardVersion(String cardVersion) {
		this.cardVersion = cardVersion;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getPlateColor() {
		return plateColor;
	}

	public void setPlateColor(String plateColor) {
		this.plateColor = plateColor;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	@Override
	public String toString() {
		return "PCard [issueFlag=" + issueFlag + ", sn=" + sn + ", cardNumber=" + cardNumber + ", runUpTime="
				+ runUpTime + ", expirationTime=" + expirationTime + ", plate=" + plate + ", balance=" + balance + "]";
	}

}
